﻿using IHodelBll;
using IHotelDal;
using Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace HodelBll
{
   public class FinanceBLL: IFinanceBLL
    {
        IFinanceDAL FinanceDAL;
        public FinanceBLL(IFinanceDAL dal)
        {
            FinanceDAL = dal;
        }
        public int AddShouru(HuiZone s)
        {
            return FinanceDAL.Add(s);
        }

        public int DelHuiZong(int id)
        {
            return FinanceDAL.DelHuiZong(id);
        }

        public List<HuiZone> ShowShouru()
        {
            return FinanceDAL.Show();
        }

        public HuiZone Detial(int id)
        {
            return FinanceDAL.Detita(id);
        }

      
    }
}
